package com.hznc.wcs.entity.wcs;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.lang.Double;
import java.math.BigDecimal;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.diboot.core.util.D;
import com.diboot.core.entity.BaseModel;
import com.diboot.core.entity.BaseEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 日志管理 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-11-28
* Copyright © MyCorp
*/
@TableName("mdl_system_log")
@Getter @Setter @Accessors(chain = true)
public class SystemLog extends BaseModel {
    private static final long serialVersionUID = 1198308410468244100L;
     /**
     * 订单编号
     */
     @Length(max=100, message="订单编号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String orderCode;

     /**
     * 操作类型
     */
     @TableField()
     private String operateType;

     /**
     * 日期
     */
     @TableField()
     private LocalDate logDate;

     /**
     * 操作时间
     */
     @TableField()
     private String logTime;

     /**
     * 状态
     */
     @TableField()
     private String status;

     /**
     * 优先级
     */
     @Length(max=100, message="优先级长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String priority;

     /**
     * 源仓位
     */
     @Length(max=100, message="源仓位长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String sourceWare;

     /**
     * 目标仓位
     */
     @Length(max=100, message="目标仓位长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String targetWare;

     /**
     * 物料类型
     */
     @Length(max=100, message="物料类型长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String mrlType;

     /**
     * 错误原因
     */
     @Length(max=100, message="错误原因长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String errorReason;


}